<template>
  <el-collapse-item :name="title">
    <div slot="title" class="collapse-item__title">
      {{ $customTranslate(title) }}
    </div>
    <div class="collapse-item__content">
      <slot name="content" />
    </div>
  </el-collapse-item>
</template>

<script>
export default {
  name: 'CollapseItem',
  props: {
    title: {
      type: String,
      required: true,
      default: ''
    }
  }
}
</script>
